
export interface PageParams {
  pageNum: number | undefined;
  pageSize:number | undefined;
}

export type ResNullAble<T = null | string | Record<string, never>> = null | {
  code: number;
  data?: T;
  message: string;
  success: boolean;
  errMessage?: string;
};

export type ResNonNullAble<T = null | string | Record<string, never>> = {
  code: number;
  data: T;
  message: string;
  success: boolean;
  errMessage?: string;
};

